package javabasic.seven;

/**
 * @author Jonny Long
 * @date 2021/2/23 20:22
 */
public class Demo {
    public void test(int num) throws ArrayIndexOutOfBoundsException{
        int[] x=new int[5];
        try {
            x[num]=5;
        }catch (Exception e){
            e.printStackTrace();
        }
        System.out.println("test执行");
    }
}
